package com.fz.vo.merchant.merMenu;

import com.fz.vo.system.menu.MenuVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
@Data
@ApiModel(value="菜单树", description="菜单树")
public class MerMenuVo {
    @ApiModelProperty(value = "菜单ID")
    private Long id;
    @ApiModelProperty(value = "是否外链 0不是外链 1是外链")
    private Integer iFrame;

    @ApiModelProperty(value = "菜单名称")
    private String name;

    private String component;

    @ApiModelProperty(value = "父级目录的id")
    private Long pid;

    @ApiModelProperty(value = "父级目录的排序")
    private Integer sort;

    @ApiModelProperty(value = "目录的图标编号")
    private String icon;

    @ApiModelProperty(value = "目录的路径")
    private String path;

    @ApiModelProperty(value = "是否缓存")
    private Integer cache;

    @ApiModelProperty(value = "是否隐藏    0是已隐藏   1是未隐藏")
    private Integer hidden;

    private String componentName;

    @ApiModelProperty(value = "权限")
    private String permission;

    @ApiModelProperty(value = "类型")
    private Integer type;

    @ApiModelProperty(value = "是否选中,  1 选中  0 未选中")
    private Integer checked;

    @ApiModelProperty(value = "子节点")
    private List<MerMenuVo> children;
}
